#pragma once
#ifndef H_HTTPGET
#define H_HTTPGET
#include "precompiled.h"
#include "character.h"
namespace weo
{
    namespace engine
    {
        namespace utility
        {
            class HttpGet : public gc
            {
            private:
                std::string m_Data;
                unsigned int m_StatusCode;
                bool m_Error;
            public:
                HttpGet(std::string host, std::string file, std::string content);
                unsigned int StatusCode() const {return m_StatusCode;};
                const std::string Data() const {return m_Data;};
                bool Error() const {return m_Error;};
            };
        };
    };
};
#endif